package com.txsj.scan.widget.dialog;

import android.app.Activity;
import android.app.Dialog;
import android.view.View;

import com.txsj.scan.R;

/**
 * @Created by WangChuangJun on 2018/12/11
 * @Describe
 */
public class LabelIntroduceDialog extends Dialog {
    private Activity activity;

    public LabelIntroduceDialog(Activity context) {
        super(context, R.style.ThemeCustomDialog);
        super.setContentView(R.layout.dialog_label_introduce);
        setCanceledOnTouchOutside(false);
        this.activity = context;
        initView();
    }

    private void initView() {
        findViewById(R.id.iv_close).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                dismiss();
            }
        });
    }
}
